package com.base.common.edu.entity;

import com.alibaba.fastjson.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * @Author Maple.Chen
 * @Description 教职工SFTP操作记录表定义实体
 * @Date 14:22 2021/1/30
 **/
@Data
@ApiModel(description = "教职工SFTP操作记录表定义实体")
@JsonIgnoreProperties(value = {"handler"})
public class SftpAccountLog implements Serializable {

    private static final long serialVersionUID = 1910993626834842545L;
    @ApiModelProperty( value = "操作记录表id,自增序列")
    private Integer s_o_log_id;
    @ApiModelProperty( value = "教职工账号与SFTP账号映射实体")
    private SftpAccount sftpAccount;
    @ApiModelProperty( value = "操作类型（0：上传[upload]，1：下载[download]，2：删除[delete]，3：其他[other]）")
    private String operateType;
    @ApiModelProperty( value = "操作信息描述")
    private String describe;
    @ApiModelProperty( value = "操作时间")
    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    private Date operateTime;

}
